#include <iostream>

using namespace std;

struct Abc{
	bool a1;
	bool a2;
	bool a3;
	bool a4;

};


int main(int argc, char* argv[])
{

#if 0
	bool a = true;


	cout << !a <<endl;

	a = true;
	cout << ~a <<endl;

	a = false;
	cout << ~a <<endl;

	cout << true <<endl;
	cout << false <<endl;

	cout <<"hello----------------------------------------"<<endl;
#else
	int a;
	bool b = true;
	printf("b = %d, sizeof(b) = %d\n", b, sizeof(b));

	b = 4;
	a = b;
	printf("a = %d, b = %d\n", a, b);

	b = -4;
	a = b;
	printf("a = %d, b = %d\n", a, b);

	a = 10;
	b = a;
	printf("a = %d, b = %d\n", a, b);

	b = 0;
	printf("b = %d\n", b);
#endif
	
	cout<< sizeof(Abc)<<endl;

	

	system("pause");
	return 0;
}